<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>福州家常菜列表---走遍福州网</title>
<meta name="keywords" content="福州食疗,福州家常菜,福州红烧肉,福州家庭小菜,福州小炒" />
<link href="<%=request.getContextPath()%>/css/index_main.css" type="text/css" rel="stylesheet">
<style type="text/css">div.h160 {
	border-right: #cccccc 1px solid; border-top: #cccccc 1px solid; float: left; vertical-align: middle; overflow: hidden; border-left: #cccccc 1px solid; width: 160px; border-bottom: #cccccc 1px solid; height: 160px; text-align: center
}
div.h160 img {
	margin: 0px auto
}
</style>
<!--[if IE]>
<STYLE type=text/css>#edge {
	DISPLAY: inline-block; VERTICAL-ALIGN: middle; WIDTH: 0px; HEIGHT: 100%
}
#pics {
	DISPLAY: inline-block; VERTICAL-ALIGN: middle; WIDTH: 100%; TEXT-ALIGN: center
}
</STYLE>
<![endif]-->

</head>
<body leftmargin="0" topmargin="0" background="/z8fz/image/index/bks.gif">
<table id="index-logo" cellspacing="0" align="center" border="0">
	<tbody>
		<tr align="middle">
			<td width="200" height="88">
				<a href="http://www.z8fz.com"><img  width="250px;" height="100px;" alt="走遍福州网" src="${pageContext.request.contextPath }/image/index//logo.gif" border="0"/></a>
			</td>
			<td width="200">
			<!-- 广告区域1 -->
			</td>
			<td align="left" width="220">
			<!-- 广告区域2-->
			</td>
			<td nowrap="nowrap">
				<a href="http://www.z8fz.com"><img src="${pageContext.request.contextPath }/image/index//icon_home.gif" align="absMiddle" border="0"/>设为首页</a><br>
				<a href="${pageContext.request.contextPath }/web/user/register.jsp"><img src="${pageContext.request.contextPath }/image/index//icon_home.gif" align="absMiddle" border="0"/>注册会员</a><br>
				<a href="http://www.z8fz.com"><img src="${pageContext.request.contextPath }/image/index//icon_home.gif" align="absMiddle" border="0"/>登陆后台</a><br>
			</td>
		</tr>
	</tbody>
</table>
<!-- 导航条--> 
<table id="index-top" background="${pageContext.request.contextPath }/image/index//top_bk.gif" height="26" cellspacing="0" cellpadding="0" align="center" border="0" >
	<tbody>
		<tr>
			<td width="2"><img height="1" width="1" src="${pageContext.request.contextPath }/image/index//spacer.gif" /></td>
			<td width="169"><img height="26" width="169" src="${pageContext.request.contextPath }/image/index//top01.gif" /></td>
			<td width="250"><img align="absMiddle" height="26" width="29"  src="${pageContext.request.contextPath }/image/index//top02.gif"/>
				<a href="http://www.z8fz.com">首页</a>&nbsp;&nbsp;&gt;
				<a href="javascript:void(0);">福州家常菜列表</a>
			 </td>
			 <td width="10">
			 	<img height="22" width="10" src="${pageContext.request.contextPath }/image/index//top03.gif" border="0"/>
			 </td>
			 <td align="middle">
				 <table height="26" cellspacing="0" cellpadding="3" width="100%" bordercolor="1s bgcolor="red">
				 	<tbody>
				 		<tr>
				 			<td background="">
				 				<!-- 滚动条 -->
				 				<marquee onmousemove="stop();" onmouseout="start();" scrollamount="2">
				 					&nbsp;<a href="http://www.5idada.com" target="_blank">
				 							<font color="red">我爱达达网</font>
				 						  </a>
				 				</marquee>
				 			</td>
				 		</tr>
				 	</tbody>
				 </table>
			 </td>
			 <!-- 下拉导航 -->
			 <td width="130">
			 
			 	      <script language="JavaScript" type="text/JavaScript">
							<!--
							function MM_jumpMenu(targ,selObj,restore){ //v3.0
							  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
							  if (restore) selObj.selectedIndex=0;
							}
							//-->
						</script>
				<select onchange="MM_jumpMenu('parent',this,0)" name="menu1">
					<option value="#selected">Family Site</option>
					<option value="http://www.5idada.com">我爱达达网</option>
				</select>
			 </td>
			</tr>
	</tbody>
</table>
<!-- 左边菜单 -->
<table id="index-main" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff" border="0">
	<tbody>
		<tr align="middle">
			<td class="menu" valign="top" width="164">
				<div id="menu">
					<a href="http://www.z8fz.com">
						<img src="/z8fz/image/index/menu01.gif" height="18" width="162" border="0"/>
					</a>
					<!-- 引入左边栏 -->
					<jsp:include page="/left.jsp"></jsp:include>
 <div id=menu></div><br>
      <div align=center></div></td>
    <td id=index-right valign=top>
      <div id=index-link1></div>
      <!-- 输出列表 -->
      <table id="indexlist" cellspacing="6" cellpadding="5" width="98%" align="center" border="1">
      	<tbody>
      	
			<s:iterator value="#pm.datas" status="index">
				<td width="50%">
					<div class="h160" >
						<span id="edge"></span>
						<img src="<s:property value="foodImage"/>" border=0>
					</div>     
					<div id="pics_title" >
						<span class="i">
							<strong>菜名:</strong>
							<s:property value="foodName" />
						</span>
						<span>
							<strong>点击率</strong>: <s:property value="readCount"/>
						</span>
						<span>
							<strong>类型</strong>:<s:property value="tbType.typeName" />
						</span>
						<span><strong>材料</strong>: ${foodMaterial }</span>
						<span><strong>辅料</strong>: ${foodAssist }</span>
						<span>
						<strong>做法</strong>: 
						<a href="${pageContext.request.contextPath }/front/food/method-${id}.shtml"><font color="red">查看做法</font>
						</a> 
						</span>
					</div> 	
				</td>
				<s:if test="#index.count%2==0">
					</tr>
             	</s:if>
           </s:iterator>  
      	</tbody>
      </table>
      <DIV id="linkid" align="center">
	  <pg:pager items="${pm.total}" url="${pageContext.request.contextPath }/front/food/index.shtml" maxPageItems="6">
	 <pg:first>
	 <a href="${pageContext.request.contextPath }/front/food/index.shtml">首页</a>
	 </pg:first>
	 <pg:prev>
	 <a href="${pageUrl }">前页</a>
	 </pg:prev>
	 <pg:pages>
	  <a href="${pageUrl}">${pageNumber}</a>
	 </pg:pages>
	 <pg:next>
	 <a href="${pageUrl }">下一页</a>
	 </pg:next>
	 <pg:last>
	 <a href="${pageUrl }">尾页</a>
	 </pg:last>
	 </pg:pager>
       </DIV>
       </TD>
       </TR></TBODY></TABLE>
       
       <!-- 引入页脚文件 -->
	<jsp:include page="/foot.jsp"></jsp:include>
     </body>
     <div style="text-align: center;">
		<script src="http://s19.cnzz.com/stat.php?id=3191587&web_id=3191587&show=pic1" language="JavaScript"></script>
	</div>
</html>